package com.sanxiang.common;

import java.util.List;

public class ResultPage<T> {
    private List<T> record;
    private Long total;

    public void setResultPage(List<T> datas, Long total) {
        this.record = datas;
        this.total = total;
    }

    public List<T> getRecord() {
        return record;
    }

    public void setRecord(List<T> record) {
        this.record = record;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}